#ifndef __CK_CONFIG_MGR_H__
#define __CK_CONFIG_MGR_H__

#include <cocos2d.h>
USING_NS_CC;

class ConfigMgr
{
private:
	ConfigMgr();
	~ConfigMgr();
public:
	static ConfigMgr* getInstance();
	int getResourceWidth();
	float getPieceSize();
	Vec2 getGLCoord(int x, int y);

protected:
	int _resourceWidth;
	float _pieceSize;
	Vec2 _boardOrigin;
private:
	static ConfigMgr *_instance;
};

#endif
